home *** CD-ROM | disk | FTP | other *** search
- WinProlog Macro
- Push DS ;load AX into DS for non-exported use
- Pop AX ; (will be replaced by Mov AX,xxxx if
- Nop ; exported from a DLL)
- Inc BP ;increment BP for memory management
- Push BP ;save BP
- Mov BP,SP ;create stack frame for accessing parms
- Push DS ;save old DS
- Mov DS,AX ;set DS to DLL's DGroup (from above)
- WinProlog EndM